package com.itheima.dto;

import com.itheima.domain.Taste;

import java.math.BigDecimal;
import java.util.List;

/**
 * date: 2022/5/19 13:56
 *
 * @author daya000
 */
public class AddDishDto {
    private String name;
    private BigDecimal price;
    private Integer code;
    private String image;
    private String description;
    private Integer status;
    private String catgoryId;
    private List<Taste> flavors;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCatgoryId() {
        return catgoryId;
    }

    public void setCatgoryId(String catgoryId) {
        this.catgoryId = catgoryId;
    }

    public List<Taste> getFlavors() {
        return flavors;
    }

    public void setFlavors(List<Taste> flavors) {
        this.flavors = flavors;
    }

    @Override
    public String toString() {
        return "DishAddDto{" +
                "name='" + name + '\'' +
                ", price=" + price +
                ", code=" + code +
                ", image='" + image + '\'' +
                ", description='" + description + '\'' +
                ", status=" + status +
                ", catgoryId='" + catgoryId + '\'' +
                ", flavors=" + flavors +
                '}';
    }
}
